#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int i ,j=2;
	int n = 0, arr[100] = {};
	for (i = 101; i < 200; i++)
	{
		for (j = 2; j <= i; j++)
		{
			if (i % j == 0)
			{
				break;
			}
			
		}
		if (i == j)
		{
			arr[n] = i;
			n++;
		}

	}
	for (n = 0; n < 100; n++)
	{
		printf("%3d ", arr[n]);
		if ((n + 1) % 5 == 0)
			printf("\n");

	}
	return 0;

}
